import {http} from "../utils/http"

import type {homedata} from "../model/Home"
import type {houseList} from "../model/HouseList"
export  const gethomeData=():Promise<homedata>=>{
  return http.get<homedata>('/home/info')
}
export  const gethouseData=():Promise<houseList>=>{
  return http.get<houseList>('/house/nearbyHouses')
}